package cn.iocoder.yudao.module.wine.controller.admin.supplyorderlog.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;

@Schema(description = "管理后台 - 供求订单日志新增/修改 Request VO")
@Data
public class SupplyOrderLogSaveReqVO {

    @Schema(description = "日志主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "32674")
    private Long id;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "27548")
    @NotNull(message = "用户编号不能为空")
    private Long userId;

    @Schema(description = "用户类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "用户类型不能为空")
    private String userType;

    @Schema(description = "订单号", requiredMode = Schema.RequiredMode.REQUIRED, example = "10358")
    @NotNull(message = "订单号不能为空")
    private Long orderId;

    @Schema(description = "操作前状态", example = "2")
    private String beforeStatus;

    @Schema(description = "操作后状态", example = "1")
    private String afterStatus;

    @Schema(description = "操作类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "操作类型不能为空")
    private Integer operateType;

    @Schema(description = "操作内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "操作内容不能为空")
    private String content;

}
